Solved

ftp script

Posted on 2008-06-26
4
334 Views
Last Modified: 2013-12-16
Hi,

I'm trying to make an ftp URL to connect to a ftp server using the ftp command on Mac OS.
The username I have is like this :
blablabla@blibli.com

So the command to connect is this one
blablabla@blibli.com:password@server.com

I'm can't get ftp to connect to the server in one command since it always assumes I want to connect to "@blibli.com" when I want to connect to "server.com"...

Anyone has an idea ?

Cheers

Terence
0
Comment
Question by:terencepires
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:laneduncan
ID: 21874576
You might consider using a shell script, something like what is described on this site:
http://www.bradrice.com/wposx/archives/57

0
 
LVL 1

Author Comment

by:terencepires
ID: 21874632
isn't there a syntax type that could allow usernames with an @ ?
0
 
LVL 10

Accepted Solution

by:
laneduncan earned 500 total points
ID: 21875126
Not that I'm aware of, from the command line, that is.
I do believe that curl will allow you to do this, however, with the -u switch.  I'd recommend giving it a shot:
http://curl.netmirror.org/
0
 
LVL 1

Author Closing Comment

by:terencepires
ID: 31470952
thanks for your advice, i'll give it a shot !

Cheers

Terence
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question