Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 10-30-2002, 04:52 PM ftp question....
Junior Talker

Posts: 3
Location: Iowa City
Trades: 0
I've created a directory of symbolic links to a bunch of binary files that I need to send via ftp. Will this work, or will the recipient just get a bunch of null-pointers??
jgrun is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2002, 06:57 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
Wow! Your from Iowa City? Cool. I am probably going to go to college there next year. Hehe sorry that was kinda random but when you live out of the US you realize how rare Iowans are!

Now, about your question basically I have no idea. I didn't know you could send over ftp to someone. Do you mean upload it? Also I am not quite sure what you mean by null-pointers. Anyways sorry I am not much help. Don't have much experience with ftp stuff.
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 10-30-2002, 08:53 PM
DaveMo~'s Avatar
Administrator
Defies A Status

Posts: 10,200
Name: Dave
Location: Scott Depot, West Virginia, USA
Trades: 1
The ftp should send the directory as is (it is not following any commands that are in the directory).

I'd recommend sending it. At least, you would know for sure.

When you do try it, please let us know what happened.

Dave
__________________

Please login or register to view this content. Registration is FREE
:
Please login or register to view this content. Registration is FREE
:
Please login or register to view this content. Registration is FREE
:

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
?

DaveMo~ is offline
Reply With Quote
View Public Profile
 
Old 10-31-2002, 08:32 AM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
Trades: 0
Hi,

Speaking of FTP, does anyone know of any other useless FTP commands other than NOOP? Right now, my FTP signs out automatically after 120 seconds of inactivity, and I want to try to stop that by automatically directing useless commands every few seconds as a "Keep Alive".
__________________

Please login or register to view this content. Registration is FREE
- Affordable feature-packed remotely hosted message boards!
conkermaniac is offline
Reply With Quote
View Public Profile
 
Old 10-31-2002, 10:21 AM
Junior Talker

Posts: 3
Location: Iowa City
Trades: 0
dk01, Great to hear you'll get a chance to experience the middle of the US. You'd be suprised how multi-cultural this town is. I hope you enjoy your time here!

The consensus in the lab is that the upload will work. But, no one is completely sure! I'll have to test it and let you know. Thanks for the help, though.

conkermaniac - I don't know if this is a system command, but you could write a short perl script like this....

use Net::FTP;
$ftp = Net::FTP->new
{
"ftp.cpan.org",
Timeout => 120 # number of sec till timeout
} or die "Could not connect.\n";

I'm new to perl, but I hope that's something you can use.

Thanks for the help,
J
jgrun is offline
Reply With Quote
View Public Profile
 
Old 10-31-2002, 01:25 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
Ya I know my grandpa was a professor at the Uni and still lives in IC so I am there alot. Its really nice. Can't wait.
-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 11-18-2002, 12:43 PM
Junior Talker

Posts: 3
Location: Iowa City
Trades: 0
UPDATE:

I ended up not using the symbolic links and just sent along a big ol' tarball. I used tar's -h option to de-reference the links, and vois la. So...I don't know if it works or not. sorry!

I'm new to perl, but the common saying seems to hold true, and I find myself using it for the first time: "There is more than one way to get the job done...."

Thanks for the help,
Cheers,
Jason
jgrun is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ftp question....
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24320 seconds with 12 queries