Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
372 views
in Technique[技术] by (71.8m points)

safari - upload files via iPad

One of our users just notified us that our web application works very well through Safari on the iPad (or whatever the default browser is -- I assume Safari). The only thing that doesn't work is the file upload part.

Our web application enables our users to attach files in various parts of the system.

I was thinking about this. The iPhone takes pictures, but doesn't really give me the ability to upload them via a standard web interface (where you click a button, choose a file, upload the file, etc).

Is this even possible? Or is the only way to upload files from an iPhone/iPad via a custom app written for the device?

Is there a way to upload a file on an iPad via the web browser?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

As far as I know the iOS doesn't expose a file system to the user, so it wouldn't really make sense for it to be possible to upload files via a web interface. Most of the apps that do exist, sync files through iTunes or something similar.

One approach I've also seen used was for the iOS device to act as a fileserver and enabling you to download files that way. This is how iFile works.

In short, to my knowledge it isn't possible.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...