Ftp Upload Folder | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Ftp Upload Folder

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-19-2002
roberthawke roberthawke is offline
Registered User
 
Join Date: May 2002
Last Activity: 25 June 2002, 4:21 AM EDT
Location: Austria
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Ftp Upload Folder

Hi!

I'd like to upload a complete folder with subfolders with put. At the moment I always get the err-msg:

aboutme: not a plain file

Could anyone help me??

Thanx
Sponsored Links
    #2  
Old 06-19-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 3 April 2014, 2:50 PM EDT
Location: On my motorcycle
Posts: 3,092
Thanks: 1
Thanked 30 Times in 9 Posts
It matters what you are using to do the ftp (and possibly where you are going to).

Normal ftp does not create directories on the fly (the plain file error) as far as I can tell - you can use mkdir to create the directories and then use mput to put the other files into the directory.

If you can, use a ftp client or web browser that will create directories without the hassle.
Sponsored Links
    #3  
Old 06-20-2002
roberthawke roberthawke is offline
Registered User
 
Join Date: May 2002
Last Activity: 25 June 2002, 4:21 AM EDT
Location: Austria
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
FTP UPLOAD FOLDER

Hi!

I cannot use FTP on this computer here in school (port blocked). But I can use SSH. So what I do is I log to an SSH account and use the UNIX FTP on this machine.

So first I upload the files in a tar to the SSH account, then I want to FTP all of them to my homepage account.


Is there the possibility to use TAR over the FTP account too?? Probably with the SITE command??
    #4  
Old 06-21-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 3 April 2014, 2:50 PM EDT
Location: On my motorcycle
Posts: 3,092
Thanks: 1
Thanked 30 Times in 9 Posts
Quote:
Is there the possibility to use TAR over the FTP account too?? Probably with the SITE command??
I don't know - you never posted your OS or type of FTP you are using. The FTP I use does not have a site command.

If you tar the files from the top directory, compress the tar file, and then ftp (or scp which may work from the system you ssh from) the file (set the type to binary in ftp) you can then uncompress the file and extract the tar which will create the directories and files.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
chrooted SFTP upload folder landossa UNIX for Advanced & Expert Users 0 07-19-2011 09:56 PM
Only allowing chmod 777 for file upload folder Mr.Canuck UNIX for Dummies Questions & Answers 5 10-03-2010 04:46 PM
upload a complete folder aneuryzma Web Programming 3 09-14-2009 12:36 PM
How can I upload a zip folder on a unix path from my windows folder? ajit.yadav83 Windows & DOS: Issues & Discussions 2 01-29-2009 07:56 AM
Upload of the images from the folder to the Database table shashisaini24 UNIX for Advanced & Expert Users 0 11-29-2006 05:03 AM



All times are GMT -4. The time now is 01:00 AM.